<form action="/menu/addMenu" id="form-create" class="form-horizontal form-customer" method="post">
    <div class="form-group">
        <div class="control-label"><i class="must-write"></i>菜单名：</div>
        <input type="hidden" value="<?=empty($detail->preview) ? 1 :  $detail->preview?>" id="preview" name="preview">
        <div class="control-cnt">
            <input type="text" value="<?=isset($detail->title)?$detail->title:''?>" placeholder="" id="name" name="name" class=" form-control x-def"/>
        </div>
    </div>
    <div class="form-group">
        <div class="control-label"><i class="must-write"></i>路劲：</div>
        <div class="control-cnt">
            <input type="text" id="route" name="route"/>
        </div>
    </div>

    <select name="mySelect">
        <?php foreach ($options as $val): ?>
        <option value="<?=$val?>"
        ><?=$val->name?></option>

        </option>
        <?php endforeach; ?>
    </select>

    <div class="form-group">
        <div class="control-label"></div>
        <div class="control-cnt ">
            <!--            <input type="submit" for="form-create" class="btn btn-primary m-t-xs" >登录</input>-->
            <input type="submit" value="提交">
        </div>
    </div>
</form>